Return types

Finally, you must determine what kind of data your function returns to the current report in Crystal Reports. The following table lists the possible UFL return types along with a description of the C data type used when programming the function:

Return Type C Data Type

string

Pointer to a character array.

number

Double.

date

Long integer.

Boolean

Short integer.

currency

Double.

range (date)

Structure containing two long integers.

range (number)

Structure containing two doubles.

range (currency)

Structure containing two doubles.

range (string)

Structure containing pointers to two elements in a character array.

array (date)

Pointer to a date array.

array (number)

Pointer to a number array.

array (currency)

Pointer to a number array.

array (string)

Pointer to a string array.

array (Boolean)

Pointer to a Boolean array.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com